home *** CD-ROM | disk | FTP | other *** search
- echo off
- rem PC-KAT (C) COPYRIGHT 1986, R.H. MARTIN. PRINT PC-KAT MANUAL.
- if exist %1.out del %1.out
- if not exist %1.oqt echo Missing file, %1, please fix & rerun...
- if not exist %1.oqt goto end
- echo :
- echo : Please indicate the number corresponding to the letters of your
- echo : hard disk drive and to the floppy drive with the PC-KAT diskette
- echo : in the drive. If you don't have a hard disk drive, but you
- echo : do have a high capacity floppy drive (1.2 MB space), you can use
- echo : this drive as your hard disk instead. The PC-KAT manual was
- echo : decompressed to fit on the diskette. During the printing, the
- echo : expanded manual will be placed on your hard disk (afterwards,
- echo : it will be deleted).
- echo :
- echo : 1. Hard disk is D: and the floppy drive with PC-KAT is A:.
- echo : 2. Hard disk is C: and the floppy drive with PC-KAT is A:.
- echo : 3. Hard disk is A: and the floppy drive with PC-KAT is B:.
- echo : 4. None of the above.
- kprint -?2
- echo :
- if not errorlevel 1 goto bad_hit
- if errorlevel 4 goto bad_hit
- echo : About to decompress PC-KAT manual...
- if errorlevel 3 goto proc3
- if errorlevel 2 goto proc2
- if errorlevel 1 goto proc1
- :proc1
- d:
- a:usq a:%1.oqt
- a:
- echo :
- echo : Printing one of the PC-KAT manuals...
- kprint -vxnhc d:%1.out
- del d:%1.out
- goto end
- :proc2
- c:
- a:usq a:%1.oqt
- a:
- echo :
- echo : Printing one of the PC-KAT manuals...
- kprint -vxnhc c:%1.out
- del c:%1.out
- goto end
- :proc3
- a:
- b:usq b:%1.oqt
- b:
- echo :
- echo : Printing one of the PC-KAT manuals...
- kprint -vxnhc a:%1.out
- del a:%1.out
- goto end
- :bad_hit
- echo You did not choose a correct number; rerun this procedure again
- :end
-
-
-
-
-
-